//
//  QYMAlipayManager.h
//  QYMShareSDK
//
//  Created by Jack Luo on 2019/6/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface QYMAlipayManager : NSObject

/**
 是否安装支付宝

 @return <#return value description#>
 */
+ (BOOL)isAlipayAppInstalled;

/**
 登录

 @param authInfoStr <#authInfoStr description#>
 @param resultBlock <#resultBlock description#>
 */
+ (void)loginWithAuthInfoStr:(NSString *)authInfoStr
                   appScheme:(NSString *)appScheme
                       block:(void(^)(BOOL success,NSString *code,NSString *errorMsg))resultBlock;

/**
 支付

 @param orderStr <#orderStr description#>
 @param appScheme <#appScheme description#>
 @param reslutBlock <#reslutBlock description#>
 */
+ (void)payWithOrderStr:(NSString *)orderStr
              appScheme:(NSString *)appScheme
            resultBlock:(void(^)(NSDictionary *dict))reslutBlock;

@end

NS_ASSUME_NONNULL_END
